package com.chii.color.po;

import java.util.Date;

public class Order {
    private Integer id;

    private Integer uid;

    private Date createdAt;

    private Date updatedAt;

    private String orderNumber;

    public Order(Integer id, Integer uid, Date createdAt, Date updatedAt, String orderNumber) {
        this.id = id;
        this.uid = uid;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
        this.orderNumber = orderNumber;
    }

    public Order() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber == null ? null : orderNumber.trim();
    }
}